<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<jsp:include page="../../common/jsp/commonres.jsp"/>
<base href="<%=basePath%>">
<title>订单管理</title>
<link rel="stylesheet"
	href="<%=basePath%>/jslib/easyui/themes/opmex/common.css" type="text/css"/>

</head>
<body>
	<%-- 订单列表 --%>
	<table id="order_dg"
		toolbar="#toolbar" pagination="false" pageSize="20" rownumbers="true"
		fitColumns="true" remoteSort="false" view="scrollview" autoRowHeight="false" nowrap="false"
        singleSelect="false">
		<thead>
		<tr>
            <th field="orderStatus" sortable="true" width="20" hidden="true">状态值</th>
            <th field="status" sortable="true" width="20">状态</th>
			<th field="outTradeNo" sortable="true" width="20">订单号</th>
			<th field="createTime" sortable="true" width="20" data-options="formatter:common.formatter_Time_Hour">创建时间</th>
			<th field="username" sortable="true" width="20">收货人</th>
			<th field="phone" sortable="true" width="20">收货人电话</th>
            <th field="itemNames" sortable="true" width="20">品种</th>
            <th field="itemNums" sortable="true" width="20" align="center" align="center">数量</th>
            <th field="itemUnitPrices" sortable="true" width="20" align="center">单价</th>
			<th field="fee" sortable="true" width="20" align="center">总金额</th>
			<th field="address" sortable="true" width="20">收货地址</th>
		</tr>
		</thead>
	</table>
	<div id="toolbar">
	        <a href="javascript:delivery()" class="easyui-linkbutton"
            iconCls="icon-sum" plain="true">发货</a>

	</div>

	<script type="text/javascript"
		src="<%=basePath%>/page/order/permission.js"></script>
</body>
</html>